package com.itheima.reggie.service;

import com.itheima.reggie.common.ResultInfo;
import com.itheima.reggie.domain.Category;

import java.util.List;

public interface CategoryService {
    //分类列表
    List<Category> findAll();

    //新增
    void save(Category category);

    //修改
    void update(Category category);

    //删除
    void deleteById(Long id);

    //回显菜品分类
    List<Category> findByType(Integer type);
}
